﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using micsun.Web;
using Typhone.Public.Security;

namespace tmsWeb.Sys
{
    public partial class SysMain : micsun.Web.SecurityPage  
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            UserIdentity user = (UserIdentity)this.User;
            FunctionNode node = FunctionSystem.GetFunctionNode("SYS");//.GetCurrentUserFuncNodes(user.ID, user.CustomerSeqNo, user.Permission);
            PicMenuMain.DataSource = node;
            PicMenuMain.Permission = this.User.Permission;
            PicMenuMain.AppPath = ApplicationBase.GetUrlRoot();
        }
    }
}
